package com.example.springbootxscjxt.service;

import com.example.springbootxscjxt.entity.Score;
import com.example.springbootxscjxt.mapper.ScoreMapper;
import com.example.springbootxscjxt.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScoreService {
    @Autowired
    private ScoreMapper scoreMapper;
    public int add(Score score){
        return scoreMapper.add(score);

    }
    public  int update(Score score){
        return  scoreMapper.updatescore(score);
    }
}
